//
//  AudioViewController.h
//  Runner
//
//  Created by 小二同學 on 2021/5/31.
//

#import <UIKit/UIKit.h>
#import "SpectrumView.h"
#import <AVFoundation/AVFoundation.h>
#import <CoreAudio/CoreAudioTypes.h>

NS_ASSUME_NONNULL_BEGIN

@protocol AudioViewDelgate<NSObject>

- (void)AudioUploadDelegate:(NSDictionary *)audioData;
@end

@interface AudioViewController : UIViewController<AVAudioRecorderDelegate>

@property (nonatomic,strong) AVAudioRecorder *audioRecorder;//音频录音机
@property (nonatomic,weak) id<AudioViewDelgate> delegate;

@end

NS_ASSUME_NONNULL_END
